//
//  DetailTaoboaAndliveVideoVC.swift
//  甜言蜜语
//
//  Created by yingli_yanfa_liuxingyu on 16/9/8.
//  Copyright © 2016年 wl. All rights reserved.
//

import UIKit

class DetailTaoboaAndliveVideoVC: UIViewController, UIWebViewDelegate {
    @IBOutlet weak var webView: UIWebView!
    var urlStr = ""
    override func viewDidLoad() {
        super.viewDidLoad()
        if urlStr == ""{
            urlStr = "https://www.baidu.com"
        }
        
        let url = NSURL(string: urlStr)
        let request = NSURLRequest(URL: url!)
        webView.loadRequest(request)

        self.webView.delegate = self
    }

    override func viewWillAppear(animated: Bool) {
        super.viewWillAppear(animated)
        self.tabBarController?.tabBar.hidden = true
    }
   
}
